@charset "utf-8";

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #F9F9F9;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #999;
}

html, body {
    font-size: 14px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.layout-code {
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
li {
    float: left;
    width: calc(100% / 3);
    height: 100%;
}
li:not(:last-child) {
     box-sizing: border-box;
     border-right: 1px solid #cccccc;
 }

.title {
    color:#000;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-weight: bold;
}
.content {
    height: calc(100% - 40px);
}
.content .editor {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 25px;
}


.layout-preview {
    width: 100%;
    height: 100%;
}
.layout-preview .title {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
}
.content {
    height: calc(100% - 40px);
}
.content iframe {
    width: 100%;
    height: 100%;
}

body{
    font:14px/1.5 Arial;
    color:#666;
}
#box{
    position:relative;
    width:100%;
    height:100%;
    border:2px solid #000;
    overflow:hidden;
}

#top,#bottom{
    color:#FFF;
    width:100%;
    height:50%;
    overflow:hidden;
}

#bottom{
    position: absolute;
    /*float:right*/
}
#line{
    position:absolute;
    background: rgb(131, 131, 139);
    margin: 0;
    top:50%;
    left:0;
    height:4px;
    width:100%;
    overflow:hidden;
    cursor:s-resize;
}

